//
//  NSMutableArray+TZExtension.m
//  TZOCExtension
//
//  Created by Tim.Z on 2017/1/16.
//  Copyright © 2017年 Tim.Z. All rights reserved.
//

#import "NSMutableArray+TZExtension.h"

@implementation NSMutableArray (TZExtension)

- (void)tz_removeFirstObject {
    if (self.count) {
        [self removeObjectAtIndex:0];
    }
}

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wobjc-protocol-method-implementation"
- (void)tz_removeLastObject {
    if (self.count) {
        [self removeObjectAtIndex:self.count - 1];
    }
}

#pragma clang diagnostic pop


@end
